/* 博客详情页样式 */
.hero-detail {
    padding: 160px 32px 60px;
}

.hero-meta {
    margin: 20px 0;
    font-size: 16px;
}

.post-category {
    display: inline-block;
    margin-left: 15px;
    color: #ff7675;
}

.post-category::before {
    content: "|";
    margin: 0 10px;
}

.blog-content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px;
    overflow: hidden;
}

.blog-main-content {
    width: 68%;
    float: left;
    padding-right: 30px;
    box-sizing: border-box;
}

.featured-image {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.featured-image img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.featured-image:hover img {
    transform: scale(1.02);
}

.article-content {
    background: rgba(24, 25, 31, 0.6);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
}

.article-content h3 {
    color: #00cec9;
    font-size: 24px;
    margin: 30px 0 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 206, 201, 0.2);
}

.article-content p {
    color: #e0e0e0;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-content blockquote {
    border-left: 3px solid #6c5ce7;
    padding: 15px 20px;
    margin: 25px 0;
    background: rgba(108, 92, 231, 0.1);
    font-style: italic;
    color: #b2bec3;
    border-radius: 0 5px 5px 0;
}

.article-content ul {
    margin: 20px 0 20px 30px;
}

.article-content li {
    color: #e0e0e0;
    line-height: 1.8;
    margin-bottom: 10px;
}

.article-tags {
    margin: 30px 0 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.article-tags span {
    color: #b2bec3;
    margin-right: 15px;
}

.author-profile {
    background: rgba(24, 25, 31, 0.6);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    margin-bottom: 40px;
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(108, 92, 231, 0.3);
    margin-right: 25px;
}

.author-info h4 {
    color: #f1f1f1;
    font-size: 20px;
    margin-bottom: 10px;
}

.author-info p {
    color: #b2bec3;
    line-height: 1.6;
}

.article-navigation {
    margin-top: 40px;
    overflow: hidden;
}

.prev-article, .next-article {
    width: 50%;
    box-sizing: border-box;
}

.prev-article {
    float: left;
    padding-right: 20px;
}

.next-article {
    float: right;
    padding-left: 20px;
    text-align: right;
}

.article-navigation a {
    color: #b2bec3;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.article-navigation span {
    font-size: 14px;
    color: #6c5ce7;
    display: block;
    margin-bottom: 5px;
}

.article-navigation p {
    font-size: 16px;
    color: #f1f1f1;
    transition: color 0.3s ease;
}

.article-navigation a:hover p {
    color: #00cec9;
}

/* 侧边栏样式 */
.blog-sidebar {
    width: 32%;
    float: right;
}

.sidebar-widget {
    background: rgba(24, 25, 31, 0.6);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.sidebar-widget h3 {
    color: #6c5ce7;
    font-size: 20px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
}

.related-posts {
    list-style: none;
}

.related-posts li {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.related-posts li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-posts a {
    display: flex;
    text-decoration: none;
    color: #b2bec3;
    transition: all 0.3s ease;
}

.related-posts img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    margin-right: 15px;
    flex-shrink: 0;
}

.related-info h4 {
    color: #f1f1f1;
    font-size: 16px;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.related-info span {
    font-size: 12px;
    color: #7f8c8d;
}

.related-posts a:hover h4 {
    color: #00cec9;
}

.tag-cloud {
    overflow: hidden;
}

.tag-cloud .tag {
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.tag-cloud .tag:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.2);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .blog-main-content, .blog-sidebar {
        width: 100%;
        float: none;
    }

    .blog-main-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .prev-article, .next-article {
        width: 100%;
        float: none;
        padding: 0 0 20px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .next-article {
        text-align: left;
        padding: 20px 0 0 0;
        margin-bottom: 0;
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .article-content {
        padding: 25px;
    }

    .hero-detail {
        padding: 140px 20px 40px;
    }

    .nav-links li {
        margin-left: 15px;
    }

    .nav-links a {
        font-size: 16px;
    }
}
